
	<div class="block">

<div id= 'content'>
	<h2>页面的显示和修改</h2>
	<table class='contentTable' border="1">
			<tr>
		<td>id</td>
		<td>rid</td>
		<td>label</td>
		<td>name</td>
		<td>version</td>
		<td>imgFolder</td>
		<td>background</td>
		<td>detail</td>
		</tr>
	<?php
	
	foreach($pageManage as $page){
	
	?>
	<tr>
		<td><?php echo $page->id;?></td>
		<td><?php echo $page->rid;?></td>
		<td><?php echo $page->label;?></td>
		<td><?php echo $page->name;?></td>
		<td><?php echo $page->version;?></td>
		<td><?php echo $page->imgFolder;?></td>
		<td><?php echo $page->background;?></td>
		<td><?php echo $page->detail;?></td>
		</tr>
	<?php
	
	}
	
	?>
	</table>
	
	
	
<br>
<br>
<br>
<div class="done" style="display:none;">
<b>操作成功</b>
<a href="/admin/?page=pages">返回</a>
</div>
    <div class="form">
    	<b>添加全新页面</b>
        <form>
        	<input type="hidden" id='page' name="task" value="pages" />

    <div class="element">
        <label>rid</label>
 
        <input type="text" id="rid" name="task" class="text" value=<?php echo max($pageRid)+1?> disabled/>
    </div>
    <div class="element">
        <label>name</label>
        <input type="text" id="name" name="task" class="text" />
    </div>
    <div class="element">
        <label>imgFolder</label>
        <input type="text" id="imgFolder" name="task" class="text" />
    </div>
     <div class="element">
        <label>background</label>
        <input type="text" id="background" name="task" class="text" />
    </div>
    
    <div class="element">
        <label>detail</label>
        <textarea id="detail" name="task" class="text textarea" /></textarea>
    </div>
    
    <div class="element">
         <button type="button" id="submit">添加</button>
        <div class="loading"></div>
    </div>
    </form>
    </div>
</div>
<div class="clear"></div>
	</div>